<?php
/**
 * ============================================================================
 * Copyright (c) 2015-2018 贵州大师兄信息技术有限公司 All rights reserved.
 * siteַ: http://www.dsxcms.com
 * ============================================================================
 * @author:     David Song<songdewei@163.com>
 * @version:    v1.0.0
 * ---------------------------------------------
 * Date: 2018/10/31
 * Time: 11:29 AM
 */

namespace App\WechatMessages\ZPH;


use App\WeChat\Message\TemplateMessage;

class OrderReceivedMessage extends TemplateMessage
{
    protected $template_id = 'GOxnxxwHusEGHlzLBNS9HmywR_b7gjoFFHWSe2DDWu0';

    public function __construct()
    {
        $this->setFirst('尊敬的客户，您在的订单已经完成。');
        $this->setRemark('感谢您对我们的支持。');
    }

    public function setOrderNo($value, $color = '#000')
    {
        $this->setDataValue('keyword1', $value, $color);
    }

    public function setTradeTime($value, $color = '#000')
    {
        $this->setDataValue('keyword2', $value, $color);
    }
}
